<!--
  - Copyright (c) 2018.
  - 北京九思金信科技有限公司对该文件内容保留所有权利。
  - 未经许可，不得私自拷贝、传播、发布、引用该文件内容，违者将被追究法律责任。
  -->
<template>
  <div class="joys-loading">
    <img src="@/pages/mobile/assets/img/loading.gif" height="30" width="30">
    <p class="desc">{{ title }}</p>
  </div>
</template>

<script>
export default {
  name:'JoysLoading',
  components: {},
  data() {
    return {};
  },
  props: {
    title: {
      type: String,
      default: "加载中..."
    }
  },
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  destroyed() {
    // 良好的习惯：销毁定时器
  }
};
</script>

<style lang="less" scoped>
.joys-loading {
  width: 100%;
  text-align: center;
  .desc {
    line-height: 0.3rem;
    font-size: 0.13rem;
    color: #3e3e3e;
  }
}
</style>
